34 research outputs found

    Pakkausystävällinen koodaus LLVM:n välikielelle

    Get PDF
    Distributing software in compiler intermediate representation (IR) instead of native code offers new possibilities for optimization. When IR for the whole program and its dependencies is available at the target system we can use simple but effective install-time optimizations such as constant propagation across library boundaries. Since we know the exact CPU instruction set we can also generate code that optimally matches the target system. Finally, we can execute the software using a just-in-time compiling (JIT) interpreter that can benefit from locally generated profiling information. Unfortunately the bitcode format that is used to encode the IR of the popular LLVM compiler takes more space than native code. This is mostly because it has been designed to be seekable to allow execution of code without having to read the whole bitcode file. Seekability is a useful property but it is not needed in a software distribution format. Bitcode is also bit oriented which confuses most byte oriented compression tools. We present a new compression-friendly wire format for the LLVM IR. We compiled 3511 real-world programs from the Debian archive and observed that on average we only need 68% of the space used by gzipped bitcode. Our format achieves this by using two simple ideas. First, it separates similar information to different byte streams to make gzip's job easier. Second, it uses relative dominator-scoped indexing for value references to ensure that locally similar basic blocks stay similar even when they are inside completely different functions.Tietokoneohjelmien levittäminen välikielimuodossa (IR) tarjoaa uusia optimointimahdollisuuksia. Esimerkiksi kun ohjelman ja sen käyttämien ohjelmakirjastojen IR on saatavilla ohjelmaa asennettaessa voidaan vakiolausekkeita sieventää kirjastorajojen yli. Koska ohjelmaa asennettaessa tunnetaan kohdejärjestelmän tarkka käskykanta voidaan IR:stä kääntää natiivikoodia, joka sopii mahdollisimman hyvin kohdejärjestelmälle. Lopulta voimme käyttää IR-muodossa olevien ohjelmien suorittamiseen JIT-kääntäjää, joka voi hyödyntää paikallisessa suorituksessa kerättyä profilointitietoa. Valitettavasti suositun LLVM-kääntäjän käyttämän IR:n bitcode-koodaus tarvitsee natiivikoodia enemmän tilaa. Tämä johtuu osin siitä, että se on suunniteltu tukemaan koodin osittaista suorittamista ilman, että tulkin tarvitsee lukea bitcode-tiedostoa kokonaan ennen suorituksen alkua. Tämä on hyödyllinen suunnittelupäätös, mutta siitä ei ole hyötyä ohjelmia levitettäessä. Bitcode on myös rakenteeltaan bittivirta, mikä vaikeuttaa tavuvirtoihin suunniteltujen tavallisten pakkausohjelmien työtä. Esitämme tässä työssä LLVM:n IR:lle uuden koodauksen, joka soveltuu paremmin pakkausohjelmien syötteeksi. Käänsimme 3511 oikeaa ohjelmaa Debian-arkistosta ja havaitsimme, että koodauksemme tarvitsee vain 68% bitcode-koodauksen tarvitsemasta tilasta, kun molemmat koodaukset on pakattu gzip-ohjelmalla. Tuloksen takana on kaksi yksinkertaista ideaa. Ensin samankaltainen tieto jaetaan omiin tavuvirtoihin gzipin työn helpottamiseksi. Sitten arvojen välillä käytetään suhteellisia viittauksia, jotka on rajattu näkyvyystiedon perusteella niin, että eri funktioissa esiintyvät paikallisesti samankaltaiset peruslohkot näyttävät samankaltaisilta myös gzipin näkökulmasta

    Effectiveness of psychoanalysis and long-term psychodynamic psychotherapy on personality and social functioning 10 years after start of treatment

    Get PDF
    The evidence on potentially greater benefits of psychoanalysis (PA) vs. long-term psychodynamic psychotherapy (LPP) is scarce. This study compared the effectiveness of PA and LPP on personality and social functioning during a 10-year follow-up from the beginning of the treatments. The eligible patients, 41 self-selected for PA and 128 assigned to LPP, were 20–45 years of age and had anxiety or mood disorder. Outcomes were analyzed using ten standard measures of personality and social functioning, carried out 5-9 times during the follow-up. Different change patterns by time in PA and LPP emerged, suggesting less benefit of PA during the first years of follow-up and more benefit in most outcomes thereafter. Greater post-treatment improvement in PA than in LPP was seen up to 1-2 years after PA had ended in more mature defense style (DSQ), level of personality organization (LPO), more positive self-concept (SASB), more improved social adjustment (SAS-SR) and sense of coherence (SOC). However, at the 10-year follow-up the differences were non-significant. In conclusion, PA may give some additional benefits when long-term aims are linked to personality and social functioning. The relatively small differences and higher costs in comparison to LPP may restrict the feasibility of PA.Peer reviewe

    Dermatitis Herpetiformis Refractory to Gluten-free Dietary Treatment

    Get PDF
    Dermatitis herpetiformis (DH) is a blistering skin disease, which is regarded as an extra-intestinal manifestation of coeliac disease. Refractory cases of coeliac disease, that do not respond to a gluten-free diet and which carry an increased risk of lymphoma, are well-known in coeliac disease. To determine whether refractory cases of DH with active rash and persistent small bowel atrophy occur we analysed our series of 403 patients with DH. Seven (1.7%) patients, who had been on a gluten-free diet for a mean of 16 years, but who still required dapsone to treat the symptoms of DH, were identified. Of these, one patient died from mucinous adenocarcinoma before re-examination. At re-examination skin immunoglobulin A (IgA) deposits were found in 5/6 refractory and 3/16 control DH patients with good dietary response. Small bowel mucosa was studied at re-examination from 5 refractory and 8 control DH patients and was normal in all 5 refractory and 7/8 control DH patients. One refractory DH patient died from adenocarcinoma, but no lymphoma developed in any of the patients. This study documents for the first time refractory DH, in which the rash is non-responsive to a gluten-free diet, but the small bowel mucosa heals. This differs from refractory coeliac disease, in which the small bowel mucosa does not heal on a gluten-free diet.Peer reviewe

    Gluten Challenge Induces Skin and Small Bowel Relapse in Long-Term Gluten-Free Diet-Treated Dermatitis Herpetiformis

    Get PDF
    Dermatitis herpetiformis (DH) is an extraintestinal manifestation of celiac disease causing an itchy, blistering rash. Granular IgA deposits in the skin are pathognomonic for DH, and the treatment of choice is a lifelong gluten-free diet (GFD). Preliminary evidence suggests that there are patients with DH who redevelop gluten tolerance after adherence to a GFD treatment. To evaluate this, we performed a 12-month gluten challenge with skin and small-bowel mucosal biopsy samples in 19 patients with DH who had adhered to a GFD for a mean of 23 years. Prechallenge biopsy was negative for skin IgA and transglutaminase 3 deposits in 16 patients (84%) and indicated normal villous height-to-crypt depth ratios in the small bowel mucosa in all 19 patients. The gluten challenge caused a relapse of the rash in 15 patients (79%) in a mean of 5.6 months; of these 15 patients, 13 had skin IgA and transglutaminase 3 deposits, and 12 had small-bowel villous atrophy. In addition, three patients without rash or immune deposits in the skin developed villous atrophy, whereas one patient persisted without any signs of relapse. In conclusion, 95% of the patients with DH were unable to tolerate gluten even after long-term adherence to a GFD. Therefore, lifelong GFD treatment remains justified in all patients with DH.Peer reviewe

    Tukityöllistäminen interventiona ja sen vaikutus perusterveydenhuollon palvelujen käyttöön

    No full text
    Pitkittynyt työttömyys voidaan katkaista lyhytkestoisella tukityöllistämisellä, jolla voi olla vaikutusta työttömien hyvinvointiin, terveyteen ja toimintakykyyn. Työllistäminen voi vaikuttaa myös perusterveydenhuollon avopalvelujen käyttöön esimerkiksi tuomalla näkyväksi piilevää palvelutarvetta. Artikkelissa tutkitaan harvaan asutun kunnan tukityöllistämistoimenpiteisiin osallistuneiden ja työllistämisen ulkopuolelle jääneiden perusterveydenhuollon avopalvelujen käyttöä viiden vuoden aikana (2 vuotta ennen ja jälkeen interventiovuoden). Tutkimusjoukkona olivat yli 500 päivää työttömänä olleet. Yksilötason tiedot poimittiin rekistereistä kokonaisotantana (ikä: 17–63 vuotta, sukupuoli: 61 % miehiä, 39 % naisia, N = 152). Tiedot perustuivat kolmeen eri rekisteriin: Kelan työttömyysturvatiedot, Pudasjärven kaupungin työllistämispalvelujen asiakastiedot ja Oulunkaaren kuntayhtymän potilasrekisteri. Tutkimusjoukosta muodostettiin kaksi pseudonymisoitua ryhmää: interventioryhmä eli tukityöllistetyt (n = 67) ja vertailuryhmä (n = 85). Aineisto analysoitiin kvantiiliregressiolla. Tulosten mukaan interventio- ja vertailuryhmien terveyspalveluiden käytössä oli eroja ja palvelujen käyttö jakautui epätasaisesti molemmissa tutkimusryhmissä. Interventioryhmässä käynnit lisääntyivät intervention jälkeisen vuoden loppuun asti, mutta vähenivät sitä seuraavana vuonna 2016. Vertailuryhmän käynnit lisääntyivät koko seuranta-ajan vuoteen 2016 saakka. Palvelujen käyttö ei jakaantunut tasaisesti, vaan 17 prosenttia käytti puolet kaikista palveluista. Paljon palveluja käyttäneiden osuudet erosivat interventio- ja vertailuryhmän välillä. Interventioryhmässä paljon palveluja käyttäneiden palvelujen käyttö oli tilastollisesti merkitsevästi matalampaa kuin vertailuryhmässä (p=0,000–0,002). Pitkäaikaistyöttömille kohdennetun tuen ja työllistämistoimenpiteiden arvioinnin näkökulmasta tietoa perusterveydenhuollon avopalveluiden käytöstä tarvitaan. Relevanttia rekisteritietoa on harvoin käytössä
    corecore