JSStream class>>encodeString:on: optimizes speed for Pharo but not always for other platforms. Move to platform-specific package. · Issue #1458 · SeasideSt/Seaside · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation of JSStream class>>encodeString:on: is a hotspot method when generating large pieces of Javascript. As such, its optimization is important. Optimizations may differ between platforms, requiring a specialization per supported platform.
In VAST, because of the distinction between String with Character and UnicodeString with Grapheme, the optimization needs to be very different to obtain reasonable speeds.
Therefore, the implementation of this method should be moved to platform-specific packages.
The text was updated successfully, but these errors were encountered:
The implementation of
JSStream class>>encodeString:on:
is a hotspot method when generating large pieces of Javascript. As such, its optimization is important. Optimizations may differ between platforms, requiring a specialization per supported platform.In VAST, because of the distinction between
String
withCharacter
andUnicodeString
withGrapheme
, the optimization needs to be very different to obtain reasonable speeds.Therefore, the implementation of this method should be moved to platform-specific packages.
The text was updated successfully, but these errors were encountered: