justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Re: Hey I didn't know this malloc behavior, that's great. Do you have any suggestions on how large I should alloc the block?
Asked by Rodrigo (200.198.222.x) on December 20 2012, 9:50am
Reply on December 20 2012, 5:53pm:
    Figure out what the reasonable maximum number of files you'd ever open is, and multiply it by the typical file length (it doesn't store the path per file, thankfully, just path then file list).

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS