#7013: [with patch, needs work] prime_pi and nth_prime
----------------------------------------+-----------------------------------
   Reporter:  kevin.stueve              |       Owner:  kevin.stueve            
       Type:  enhancement               |      Status:  needs_work              
   Priority:  major                     |   Milestone:  sage-4.3.3              
  Component:  number theory             |    Keywords:  primes, sieve, table,LMO
     Author:  Kevin Stueve              |    Upstream:  N/A                     
   Reviewer:  was,robertwb,GeorgSWeber  |      Merged:                          
Work_issues:                            |  
----------------------------------------+-----------------------------------

Comment(by leif):

 Replying to [comment:44 kevin.stueve]:
 > I think that whatever sort of table is used, it needs to have a header
 that specifies the format.

 Yes. For any sort of ''binary'' file, I was thinking of just reserving the
 first 1024 bytes, which should be enough space for various information.
 Such ''fixed-size'' header can easily be [partially] skipped if the
 program does not implement the latest file [header] format version.
 We could even use this convention for text files, and start each file with
 a zero-terminated short ASCII string, s.t.
 {{{
 u...@machine~/somewhere$ head some_file_of_unknown_format
 }}}
 gives a machine- '''and''' human-understandable brief description (at
 least of its type and file format version).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7013#comment:45>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to