Skip to content

PolyFLIF version 0.7

Choose a tag to compare

@hrj hrj released this 06 Apr 04:51
· 125 commits to emscript since this release

I ❤️ optimising things, so I am pleased to present a new release which is 1.5x to 2x faster!

Changes

  • The static-only variant now has a smaller heap; 20MB v/s 100MB for the full version. The 20MB heap is sufficient for images of geometry upto ~2000 x ~2000. It is also feasible to change this in run-time, but I need to bring it out to the API. #36
  • Optimisations in the C to Javascript interfaces. Drawing to canvas and reading the input stream has to cross the C <> Javascript bridge. This was very expensive, so I have essentially added a small buffer, which has a not-so-small impact.