When "Activator" is just to slow(www.smelser.net)

submitted by JoeGeekyJoeGeeky(359) 1 year, 10 months ago

Nice performance tip

2 comments |category: |Views: 599

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by aloysius422aloysius422(1) 10 months, 16 days ago 0

Well, I tried it, and got very different results trying to instantiate 10,000 objects.

Enter number: 10000
Normal construction: 0 ms
Activator-based construction with cast: 3 ms
Generic activator-based construction: 24 ms
Expression-based construction 1693 ms
Done.

Reply

information Login or create an account to comment on this story