Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: [OT] Stats problem

by SuicideJunkie (Vicar)
on Feb 26, 2015 at 20:30 UTC ( [id://1117990]=note: print w/replies, xml ) Need Help??


in reply to Re^2: [OT] Stats problem
in thread [OT] Stats problem

If you don't mind the debug mode speed hit, you could use an alternate memcpy() and friends.

The idea being, the memory functions will check the values they're copying, and assert that they're not writing the telltale value, since it should never be used as a value in your program.

Replies are listed 'Best First'.
Re^4: [OT] Stats problem
by BrowserUk (Patriarch) on Feb 26, 2015 at 22:42 UTC

    I was using a debug malloc(). That was the point.


    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". I'm with torvalds on this
    In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1117990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-24 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found