#16924: Read DIMACS files
-------------------------------------+-------------------------------------
       Reporter:  malb               |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  PLEASE CHANGE      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scholl      |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/tscholl2/read_dimacs_16924       |  d9274c65814bbf7a5601345c3bda1afcb38e26b2
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by tscholl2):

 Thanks for the comment.

 I wasn't sure about the kind of use case this class gets. You mentioned in
 a comment that you sometimes use files on the order of gigabytes. I
 thought it might be useful to have easy access to a method which you only
 need a stream in case you don't have a disk file (for example a memory
 mapped file object, a StringIO file object, or some kind of stream from
 stdin). I don't know if you can open those with `fopen`.

 However, if you think that most people just read from a file on the disk,
 then I could easily remove the `load` function.

 As for the `read` name, I used `read` because there was already a `write`
 method and it seemed complementary. Do you think `parse` is a better name?

--
Ticket URL: <http://trac.sagemath.org/ticket/16924#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to