Re: SIMD powered Python

2007-06-23 Thread Bytter
Hi... True... But maybe in NumPy arrays that would be more feasible...? Cheers. Hugo Ferreira Marc 'BlackJack' Rintsch escreveu: In [EMAIL PROTECTED], Bytter wrote: Is there any ID ongoing about using SIMD [1] instructions, like SSE [2], to speed up Python, especially regarding

SIMD powered Python

2007-06-22 Thread Bytter
Hi! Is there any ID ongoing about using SIMD [1] instructions, like SSE [2], to speed up Python, especially regarding functional features, like list comprehension, map and reduce, etc.. ? Best regards, Hugo Ferreira -- [1] http://en.wikipedia.org/wiki/SIMD [2]

libboost, python, and dijkstra shortest path

2006-11-29 Thread Bytter
Hi everyone, I need to implement a very quick (performance-wise) Dijkstra shortest path in python, and found that libboost already has such thing. Problem is: I cannot find the installation package for my Python 2.4 under windows. Can someone please provide me instructions for installing libboost

Re: Detecting recursion loops

2006-11-29 Thread Bytter
Hi! I hope you are not trying to find infinite loops and I simply misunderstood your question. Because if you are, then forget it (Turing anyone?)... Infinite loops are impossible to find (minus some few, very specific situations). Cf. http://en.wikipedia.org/wiki/Halting_problem Cheers, Hugo

Re: libboost, python, and dijkstra shortest path

2006-11-29 Thread Bytter
= graph.add_edge(a, b) weights = graph.edge_property_map('integer') weights[e] = 5 graph.edge_properties['weight'] = weights boost.dijkstra_shortest_paths(graph, a) On Nov 29, 5:51 pm, Bytter [EMAIL PROTECTED] wrote: Hi everyone, I need to implement a very quick (performance-wise) Dijkstra shortest path

Re: PyParsing and Headaches

2006-11-23 Thread Bytter
Heya there, Ok, found the solution. I just needed to use leaveWhiteSpace() in the places I want pyparsing to take into consideration the spaces. Thx for the help. Cheers! Hugo Ferreira On Nov 23, 11:57 am, Bytter [EMAIL PROTECTED] wrote: (This message has already been sent to the mailing-list

Re: Does only emacs and idle support symbolic debugging?

2006-11-23 Thread Bytter
PyScripter (windows only) here: http://mmm-experts.com/Products.aspx?ProductId=4 On Nov 23, 4:00 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote: Victor Ng wrote: Subject line pretty much says it all - are those the only two editors that support running the symbolic debugger from inside the

PyParsing and Headaches

2006-11-22 Thread Bytter
Hi, I'm trying to construct a parser, but I'm stuck with some basic stuff... For example, I want to match the following: letter = A...Z | a...z literal = letter+ include_bool := + | - term = [include_bool] literal So I defined this as: literal = Word(alphas) include_bool = Optional(oneOf(+ -))

Rendering Vector Graphics

2006-08-11 Thread Bytter
Hi ppl, I've already posted this message through the mailing-list, but it seems it never arrived here. Strange... Anyway: I need to render high-quality vector graphics with Python. I was thinking of something like 'cairo', though I need to run under win32 and can't find a pycairo package for it.

Re: Rendering Vector Graphics

2006-08-11 Thread Bytter
Hi! [EMAIL PROTECTED] wrote: I need to render high-quality vector graphics with Python. I was thinking of something like 'cairo', though I need to run under win32 and can't find a pycairo package for it. Suggestions? I've had good experiences doing simple 3d vector stuff with Pygame.