parsing - String parser for Swift? -
i'm working on project draws functions on plane (similar apple's grapher utility).
i'have compiled app few months ago in obj-c, , was running clean , fast.
with swift, changed bit scheme of app, i'm still using cgmathparser, great collection of classes manipulate , evaluate strings like y=sin(x)
or y=log(tan(x))
however the app slow , laggy, , i'm thinking reason hides in fact i'm mixing swift obj-c.
do know if there kind of parser optimized for swift fast enough?
the swift compiler enforces bounds checks , various other 'safety' features. if compile -ofast
alternative these checks removed, typically makes app run lot faster.
parsing swift
No comments:
Post a Comment