Match in-memory structure fields without writing temporary files
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 74/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- backend, performance
Línea de trabajo
Start with polyfile/structmatcher.py at line 62 and polyfile/polyfile.py at line 329 to trace how fields reach the existing byte matcher and how path and memory inputs are handled. Compare the match tree, byte offsets, limits, and detected embedded formats for both input types; done means they stay consistent while matching in-memory fields without temporary files.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
PolyFileStruct.match writes each nonconstant byte field to disk before passing it to a matcher that already accepts bytes. Recursively analyzing archives with many fields incurs one temporary-file lifecycle per field. The separate ZIP-reader lifetime defect is tracked in #3846.
Acceptance. Feed an in-memory field to the existing matcher without the temporary-file round trip. Verify that the match tree, byte offsets, limits, and detected embedded formats stay consistent for path and memory inputs. This optimization can follow 1.0.
- Lenguaje dominante
- Python
- Estrellas
- 394
- Forks
- 34
- Merge medio
- 14 h 46 min
- PR fusionados (30 d)
- 130
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de trailofbits/polyfile
-
Enable clean wheel installations on Python 3.15Posiblemente ocupada @ESultanik la tomó hace 5 días. Abierto
trailofbits/polyfile#3884 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 53/100
trailofbits/polyfile#3841 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
trailofbits/polyfile#3839 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
trailofbits/polyfile#3838 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
trailofbits/polyfile#3837 ·
Los mantenedores suelen responder en 1 día
Todos los issues de trailofbits/polyfile
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
volcengine/OpenViking#8432 ·
Los mantenedores suelen responder en 1 día
-
Failed chat turns are passed to the follow-up rewrite as completed historyPosiblemente ocupada @hskhyl la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/auto-ontology#683 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation task
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Implement parse_url and accept http URLs for Pear backendPosiblemente ocupada @muskan-creates352 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fedora-infra/anitya#2231 ·
Los mantenedores suelen responder en 2 días
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
docling-project/docling-core#1067 ·
Los mantenedores suelen responder en 3 días