Sort methods during compilation#373
Conversation
|
@erikzhang I think that this can be merged, even if another is the solution to the problem, it will be faster to obtain the standard methods if they are at the beginning of the method array. |
|
This PR can solve the current problem. But it can only fix one method, and I am worried that there will be other special methods that need to be fixed in the future. So I don't think it should be merged, we should focus on neo-project/neo#1973. |
|
Agree, but more than a fix it's about have some rules in Abi generation, sort by |
|
@erikzhang Please don't think that it's a fix for neo-project/neo#1964 , now it's only a deterministic way to sort the methods during compilation. |
|
Tested? |
|
@superboyiii could you test it? |
|
Ping @superboyiii |
Sorry for late, I'll test it tommorrow. |
|
@shargon @erikzhang It works well on mine. Method names and offsets are all sorted in asc. I think it's a good rule for abi generation. |
|
Merge? |
|
@erikzhang Merge? |
Uh oh!
There was an error while loading. Please reload this page.