Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(418)

Issue 4965059: Proposition for pipeline system (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by piranna
Modified:
14 years, 1 month ago
Reviewers:
Andi Albrecht
Visibility:
Public.

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -1 line) Patch
M sqlparse/__init__.py View 1 chunk +6 lines, -0 lines 3 comments Download
M sqlparse/filters.py View 2 chunks +9 lines, -1 line 4 comments Download
A sqlparse/pipeline.py View 1 chunk +90 lines, -0 lines 2 comments Download

Messages

Total messages: 8
piranna
14 years, 1 month ago (2011-09-01 09:31:37 UTC) #1
Andi Albrecht
Just some nits :) http://codereview.appspot.com/4965059/diff/1/sqlparse/__init__.py File sqlparse/__init__.py (right): http://codereview.appspot.com/4965059/diff/1/sqlparse/__init__.py#newcode58 sqlparse/__init__.py:58: from sqlparse.engine.filter import StatementFilter Let's ...
14 years, 1 month ago (2011-09-01 11:30:42 UTC) #2
piranna
Where i should put the comments, there or here? How i put the comments at ...
14 years, 1 month ago (2011-09-01 11:47:31 UTC) #3
piranna
http://codereview.appspot.com/4965059/diff/1/sqlparse/__init__.py File sqlparse/__init__.py (right): http://codereview.appspot.com/4965059/diff/1/sqlparse/__init__.py#newcode58 sqlparse/__init__.py:58: from sqlparse.engine.filter import StatementFilter My intention was to replace ...
14 years, 1 month ago (2011-09-01 11:57:35 UTC) #4
piranna
http://codereview.appspot.com/4965059/diff/1/sqlparse/filters.py File sqlparse/filters.py (right): http://codereview.appspot.com/4965059/diff/1/sqlparse/filters.py#newcode466 sqlparse/filters.py:466: def Tokens2Unicode(stream): I'm using the function as a final ...
14 years, 1 month ago (2011-09-01 12:06:27 UTC) #5
Andi Albrecht
With the part from __main__ moved to a unittest I'd like to pull in your ...
14 years, 1 month ago (2011-09-02 10:04:51 UTC) #6
piranna
> With the part from __main__ moved to a unittest I'd like to pull in ...
14 years, 1 month ago (2011-09-02 11:01:21 UTC) #7
Andi Albrecht
14 years, 1 month ago (2011-09-02 11:03:24 UTC) #8
On Fri, Sep 2, 2011 at 1:01 PM, piranna@gmail.com <piranna@gmail.com> wrote:
>> With the part from __main__ moved to a unittest I'd like to pull in your
>> changes :)
>>
> Work in progress, i promise ;-) You'll have it at lunch or this
> afternoon, i'm working at this moment... :-D

No need to hurry :)

>
>
>> The result should be the same. So the only matter is which is easier to
>> maintain (yours) and which gives us better performance. For the latter
>> let's leave it as split2() for now for evaluation. At a later point we
>> can decide again :)
>>
> I totally agree with leave it for evaluation, i'll put the different
> purpose at docstring. Respect to performance, we'll need some little
> benchmarks, but at this moment, since with my pipeline allows re-use
> of partial process and also works with generators for almost all, i
> have got to reduce the time of my filesystem test to half :-) But
> really, this would be thanks to performance or just because the re-use
> of partial process (that in fact is a performance progress, but not
> directly related to my pipeline generators, it would be implemented
> with your system too...)
>
>
> --
> "Si quieres viajar alrededor del mundo y ser invitado a hablar en un
> monton de sitios diferentes, simplemente escribe un sistema operativo
> Unix."
> – Linus Tordvals, creador del sistema operativo Linux
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b