Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: [OT] Stats problem

by SuicideJunkie (Vicar)
on Feb 26, 2015 at 20:30 UTC ( #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 (Pope) 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
Node Status?
node history
Node Type: note [id://1117990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2020-05-31 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (175 votes). Check out past polls.

    Notices?