On 2020/04/09 17:07:46, hanwenn wrote: > I'm curious about these optimizations. Can you say more?
Properties are currently stored in alists. They can be stored in vectors instead. Give all grob properties a number, then have an array per grob type mapping this number to an index into an array. The first number can be memoized for literal property names, turning a property lookup into two indexing operations. That's the gist. For Scheme code, the memoization could be replaced by macro compilation, but Guilev2 byte compilation of course is sort of a roadblock here, too. https://codereview.appspot.com/573670043/