Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^6: Efficient bit-twiddling in Perl.

by BrowserUk (Pope)
on Mar 01, 2013 at 13:28 UTC ( #1021259=note: print w/replies, xml ) Need Help??


in reply to Re^5: Efficient bit-twiddling in Perl.
in thread Efficient bit-twiddling in Perl.

Less, but still a saving. Thanks. What cpu are you using?

Replies are listed 'Best First'.
Re^7: Efficient bit-twiddling in Perl.
by salva (Abbot) on Mar 01, 2013 at 14:11 UTC
    AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ (IIRC, this is a 2GHz processor)
      (IIRC, this is a 2GHz processor)

      2.1GHz according to the web.

      Perhaps more interesting is that yours has 64KB each of L1 instruction and data cache versus mine's 32KB each. But mine has 4GB of L2 cache versus yours only 512KB L2.

      I've found it impossible to reason about the affects of caching, given the different sizes, n-way associations, and multiple levels. Bad enough with two, but now they are throwing (huge) L3 cahces into the mix as well. Not to mention hyperthreading where 1 hyperthread can utilise the core whilst the other hyperthread is waiting for a cache load.

      In the end, all you can do is measure on the hardware your using and accept that it might work completely differently on another machine. Or even on the same machine with a different mix of competing processes.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021259]
help
Chatterbox?
[Corion]: :-D
Corion discovers a new shiny toy to try out over the (longish) weekend. Since I've done some more with websockets, maybe I'll try writing a webserver that implements hot-reloading of HTML(+CSS, +Javascript) in the browser. Edit the local file and ...
[Corion]: ... the browser(s) get a ping to a) refresh the page or b) reload "just" the changed parts, keeping the scroll position etc.
[Corion]: But I also have to look at how I can make WWW::Mechanize:: RemoteBrowser a reality, and how to make it safe from malicious content ;)
[Corion]: Part of wanting hot-reloading is that I think I've stumbled on a very simple set of CSS that I maybe want to use for a blog, but I want to try that out on mobile too, and I also want to add/modify it slightly so it has a header too...
[Corion]: ... and having hot reloading would make it easy to view the changes in multiple browser windows of different sizes, and on Android, simultaneously

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2018-04-26 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?