nymag / dollar-slice

Cheap and easy. Client-side micro-framework with heavy inspiration from Angular and Backbone.
MIT License
4 stars 4 forks source link

Idea: use web workers for services #18

Open nelsonpecora opened 8 years ago

nelsonpecora commented 8 years ago
ughitsaaron commented 8 years ago

Maybe for some services but not all. I think there might be some edge cases where calling a web worker for some small task might actually hurt performance more than help.

nelsonpecora commented 8 years ago

yep. I think the best use cases are validators (which don't need to talk with the dom) and api calls (the stuff in edit/ though there are some dom things in there right now)